package vn.mycrm.client.model;

import java.io.Serializable;

import com.google.appengine.api.datastore.Key;

public class LoaiCH extends AbstractModel implements Serializable {

	private static final long serialVersionUID = 1L;

	private Key key;

	private String ten;
	private String mota;

	private boolean tenChanged = false;
	private boolean motaChanged = false;

	public String getTen() {
		return ten;
	}

	public void setTen(String ten) {
		if (ten != null && ten.compareTo(this.ten) != 0) {
			this.ten = ten;
			tenChanged = true;
		}
	}

	public String getMota() {
		return mota;
	}

	public void setMota(String mota) {
		if (mota != null && mota.compareTo(this.mota) != 0) {
			this.mota = mota;
			this.motaChanged = true;
		}
	}

	
	public boolean isTenChanged() {
		return tenChanged;
	}

	
	public boolean isMotaChanged() {
		return motaChanged;
	}

	
	
}
